<div class="row">

  <div class="span6">
    <label style="font-weight: bolder;">Nome</label>
    <label><?php echo $usuario['nome'] ?></label>
  </div>

</div>

<div class="row">

  <div class="span4">
    <label style="font-weight: bold;">E-Mail</label>
    <label><?php echo $usuario['email'] ?></label>
  </div>
  <div class="span2">
    <label style="font-weight: bold;">Login</label>
    <label><?php echo $usuario['login'] ?></label>
   </div>
</div>

<div class="row">
  <div class="span2">
    <label style="font-weight: bolder;">RG</label>
    <label><?php echo $usuario['rg'] ?></label>
  </div>

  <div class="span2">
    <label style="font-weight: bolder;">CPF</label>
    <label><?php echo $usuario['cpf'] ?></label>
  </div>

  <div class="span2">
    <label style="font-weight: bolder;">Data de Nascimento</label>
    <label id="nascimentoModal"></label>
  </div>

</div>

<div class="row">
  <div class="span4">
    <label style="font-weight: bolder;">Cidade</label>
    <label><?php echo $usuario['cidade'] ?></label>
  </div>

  <div class="span2">
    <label style="font-weight: bolder;">Estado</label>
    <label><?php echo $usuario['estado'] ?></label>
  </div>

</div>

<div class="row">
  <div class="span4">
    <label style="font-weight: bolder;">Endereço</label>
    <label><?php echo $usuario['endereco'] ?></label>
  </div>

  <div class="span2">
    <label style="font-weight: bolder;">Bairro</label>
    <label><?php echo $usuario['bairro'] ?></label>
  </div>

</div>

<div class="row">
  <div class="span4">
    <label style="font-weight: bolder;">Telefone</label>
    <label><?php echo $usuario['telefone'] ?></label>
  </div>

  <div class="span2">
    <label style="font-weight: bolder;">Tipo</label>
    <label><?php 
      if($usuario['tipo'] == 'A')
        echo 'Administrador';
      else if($usuario['tipo'] == 'AP')
        echo 'Aplicador';
      else if($usuario['tipo'] == 'P')
        echo 'Aplicador';
      ?>
    </label>
  </div>

</div>

<script type="text/javascript">
  function preencher_data(data){
    $('#nascimentoModal').text(parse_date(data).format('dd/MM/yyyy'));
  }

  $(document).ready(function(){
      preencher_data('<?php echo $usuario['nascimento'] ?>');
  })
  
</script>

